package czt.ocr.entity;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.format.DateTimeFormat;
import lombok.Data;

import java.util.Date;

/**
 * @author czt
 * @version 1.0
 * @since 2025/4/6
 */
@Data
public class EFile {
    @ExcelIgnore
    private Integer id;
    @ExcelProperty(value = "设备名称", index = 0)
    private String name;
    @ExcelProperty(value = "所属馈线", index = 1)
    private String feeder;
    @ExcelProperty(value = "所属站房", index = 2)
    private String station;
    @ExcelProperty(value = "电压等级", index = 3)
    private Integer type;
    @ExcelProperty(value = "运行状态", index = 4)
    private String state;
    @ExcelProperty(value = "所属单位", index = 5)
    private String owner;
    @DateTimeFormat("yyyy/MM/dd")
    @ExcelProperty(value = "投运时间", index = 6)
    private Date createTime;
    @DateTimeFormat("yyyy/MM/dd")
    @ExcelProperty(value = "退役时间", index = 7)
    private Date runTime;
}
